<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <my-component></my-component>
    </div>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <script>
        let Child = {
            template: `
                <div>局部注册组件的内容</div>
            `
        }
    </script>
</body>
</html>